package com.zz.study.sharding.mappers;


import com.zz.study.sharding.entity.HifleetAisdata ;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
@Mapper
public interface HifleetAisdataMapper {

    int addRecord(HifleetAisdata record);

    int addRecordsBatch(List<HifleetAisdata> list);

    List<HifleetAisdata> getListwithPageInfo(@Param("record") HifleetAisdata record, @Param("startTime") Date startTime,
                                             @Param("endTime") Date endTime, @Param("start") int start, @Param("pageSize") int pageSize);




}